import request from '../utils/request'
<<<<<<< HEAD
//请求商品列表
export const getGoodsList=()=>{
return request.get('/ajax/appapi/silo/navigationAll/v3?timestamp=1600257747309&summary=4eb3aa9892acc99b8836e0b968f6a928')
}

//请求轮播图片
export const getGoodsBanner = ()=>{
  return request.get('/ajax/appapi/home/mktBannerApp/v3?silo_id=2013000100000000008&platform_code=PLATEFORM_H5&credential=485461278f8fd06cb8f12b97122ba7493e6103eb5cc872a6103416a2080281e244a7abedc40524cee96a2a92da61184afa0436147d59d0bf05a45baedd211fd61bf5ae336d5468bfb1e3f71eecda3c442e2484d3157de12a70856575009c9ee3485d58d61b45e4e347838cd9838391022402a39f03082269d20636ea310cb6f1933460c8213dedeecab54c8e033aee58')
}

//获取推荐下面的今日上新以及热卖品牌
export const getGoodsNews = ()=>{
  return request.get('/ajax/appapi/home/eventForH5?params=%7B%7D&timestamp=1600323700935&summary=e59f747b764dbb2872573125423e4bd2&platform_code=H5')
}

//获取海外banner
export const getGoodsoversea = ()=>{
  return request.get('/ajax/appapi/home/mktBannerApp/v3?silo_id=2013000100000000011&platform_code=PLATEFORM_H5')
}

//获取海外产品
export const getGoodsoverseas = ()=>{
  return request.get('/ajax/appapi/silo/eventForH5?categoryId=crossborder&pageIndex=1&timestamp=1600345699999&summary=5042ce8bb92ad87c806ffa573a32a4d6&platform_code=H5')
}

// 女士banner
// export const getGoodswoman = ()=>{
//   return request.get('/ajax/appapi/')
// }

// 女士产品
export const getGoodswomen = ()=>{
  return request.get('/ajax/appapi/silo/eventForH5?categoryId=women&pageIndex=1&timestamp=1600348589935&summary=ed9d85a0e80532557b739ef44ccd7dd2&platform_code=H5')
}
// 男士产品
export const getGoodsmen = ()=>{
  return request.get('/ajax/appapi/silo/eventForH5?categoryId=men&pageIndex=1&timestamp=1600349288950&summary=a0d19dd5afde1988136e1dd4db91b949&platform_code=H5')
}

//获取美妆banner
export const getGoodsbanner = ()=>{
  return request.get('/ajax/appapi/home/mktBannerApp/v3?silo_id=2013000100000000003&platform_code=PLATEFORM_H5')
}
// 美妆产品
export const getGoodsmakeup = ()=>{
  return request.get('/ajax/appapi/silo/eventForH5?categoryId=cosmetics&pageIndex=1&timestamp=1600349496216&summary=3ea61d52948e77aa83683617cc09c232&platform_code=H5')
}
// 家居产品
export const getGoodsfurnishing = ()=>{
  return request.get('/ajax/appapi/silo/eventForH5?categoryId=lifestyle&pageIndex=1&timestamp=1600350362464&summary=3977c7af2cba13b4485a2a1c362727ca&platform_code=H5')
}
// 婴童产品
export const getGoodsinfant = ()=>{
  return request.get('/ajax/appapi/silo/eventForH5?categoryId=kids&pageIndex=1&timestamp=1600349532812&summary=38205373f1c0bc57ee8d290249723513&platform_code=H5')
}
=======
// 请求商品列表
export const getGoodsList = (page)=>{
  return request.get(`/ajax/appapi/event/product/v3?pageIndex=${page}&categoryId=2040204090000008673`)
}

//请求商品详情
// export const getGoodsDetail = (id)=>{
//   return request.get(`/api/list?id=${id}`)
// }
>>>>>>> 235ec850bf7619b004d1edc69fbde6fa93ab55fa
